package com.xiaoyu.awakening.records.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author wangxiaoyu
 * @date 2024/12/18 11:55
 * @since v1.0
 */
@Data
public class AwkServerLogsDTO {
    private Long traceId;
    private Long spanId;
    @NotBlank
    private String tenantId;
    private String userId;
    @NotBlank
    private String serverName;
    @NotBlank
    private String interfaceName;
    @NotBlank
    private String contextPath;
    @NotBlank
    private String header;
    @NotBlank
    private String httpMethod;
    private String requestData;
    private String responseData;
    private Integer httpStatus;
    private String errorMessage;
    private String serverIp;
    private String clientIp;
    private String userIp;
    private String userAgent;
}
